package com.vcar.LDiceClient.command
{

	import flash.ui.Keyboard;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	public class HotKeyCommand extends SimpleCommand
	{
		public function HotKeyCommand()
		{
			super();
		}
		
		/**
		 * 
		 * @param notification
		 *  body的数据格式：{keyCode:e.keyCode,ctl:e.ctrlKey,shift:e.shiftKey}
		 */		
		override public function execute(notification:INotification) : void
		{
			switch(notification.getBody().keyCode)
			{
				case Keyboard.ENTER://enter
					//Alert.show("enter");
					break;
				
			}
		}
	}
}